import axios from "@/util/axios.config";

export const addAccount = (data) => {
  return axios({
    url: '/admin/api/user/create',
    method: 'post',
    data
  })
}

export const accountList = (data) => {
  return axios({
    url: '/admin/api/user/list',
    method: 'post',
    data
  })
}

export const accountDelete = (data) => {
  return axios({
    url: '/admin/api/user/remove',
    method: 'get',
    params: data
  })
}